Contextual Integration Testing of Classes

نویسندگان

  • Giovanni Denaro
  • Alessandra Gorla
  • Mauro Pezzè
چکیده

This paper tackles the problem of structural integration testing of stateful classes. Previous work on structural testing of objectoriented software exploits data flow analysis to derive test requirements for class testing and defines contextual def-use associations to characterize inter-method relations. Non-contextual data flow testing of classes works well for unit testing, but not for integration testing, since it misses definitions and uses when properly encapsulated. Contextual data flow analysis approaches investigated so far either do not focus on state dependent behavior, or have limited applicability due to high complexity. This paper proposes an efficient structural technique based on contextual data flow analysis to test state-dependent behavior of classes that aggregate other classes as part of their state.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Empirical Evaluation of Data Flow Testing of Java Classes

This paper tackles the problem of structural integration testing of stateful classes. Previous work on structural testing of objectoriented software exploits data flow analysis to derive test requirements for class testing and defines contextual def-use associations to characterize inter-method relations. Non-contextual data flow testing of classes works well for unit testing, but not for integ...

متن کامل

Identification and Distribution of Interactional Contexts in EFL Classes: The Effect of Two Contextual Factors

This study aims at empirically furthering awareness of the organization of interaction in EFL classes. Informed by the methodological framework of conversation analysis, it draws upon a corpus of 52 three-hour naturally-occurring classroom interaction to identify classroom interactional contexts based on the structuring of the pedagogic goals in turn-taking sequences. Conversation analytic proc...

متن کامل

Combining UML Interaction Diagrams and State-Charts for Testing of Object Oriented Software Systems

Successful integration of classes results in correct functioning of object-oriented software. It can be possible that individual classes may function correctly but several new faults can emerge when these independent classes are integrated together. Typically, the complexity of an OO system lies in its object interactions, not within class methods which tend to be small and simple. As a result,...

متن کامل

The Impact of Trade Openness on Economic Growth in Pakistan; ARDL Bounds Testing Approach to Co-integration

T he main objective of this paper was the investigation of the impact of the trade openness on economic growth in Pakistan. We have been employed both the Johensen and Autoregressive Distributed Lag (ARDL) Co-integration together with ECM Techniques for the period 1975-2016. The empirical estimated results are the sound evidence that there exists a short...

متن کامل

Latent Contextual Bandits and their Application to Personalized Recommendations for New Users

Personalized recommendations for new users, also known as the cold-start problem, can be formulated as a contextual bandit problem. Existing contextual bandit algorithms generally rely on features alone to capture user variability. Such methods are inefficient in learning new users’ interests. In this paper we propose Latent Contextual Bandits. We consider both the benefit of leveraging a set o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008